/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.oop;

/**
 * <p>Project: app2022 - Demo
 * <p>Powered by webrx On 2022-01-10 17:48:10
 *
* @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public abstract class Demo {
    public static void main(String[] args) {
//        A a = new B();
//        a.show();
//
//        A b = new A();
//        System.out.println(b.id);
        var md = new MyDb();
        //md.print();

        System.out.println(md.a(3,6));
        md.a("李四");
        md.a(18);
    }

    /*抽象方法*/
     abstract void abc();
}
